<template>
    <div class="hello">
        <h2>{{ name }}</h2>
    </div>
</template>

<script>
export default {
    name: 'GlobalCom',
    data() {
        return {
            name: '前端训练营'
        };
    },
    props: {
        msg: String
    }
};
</script>
